#define _CRT_SECURE_NO_WARNINGS

#include "AVL.h"

int main()
{
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };

	AVLTree<int, int> t;

	for (auto e : a)
	{
		t.insert({e,e});
	}

	t.InOrder();
	cout << t.IsBalance() << endl;
	return 0;
}